angular.module('starter.home.services', [])

.factory('ProductServices', [ ->
	products = [
	    { id: 0, name: 'Scruff McGruff' },
	    { id: 1, name: 'G.I. Joe' },
	    { id: 2, name: 'Miss Frizzle' },
	    { id: 3, name: 'Ash Ketchum' }
  	]
  	
	all: ->
		products  
	get: (productId) ->
		products[productId]
]);